<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::visualization::KeyboardEvent类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1visualization_1_1_keyboard_event.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-attribs">静态 Public 属性</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1visualization_1_1_keyboard_event-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::visualization::KeyboardEvent类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="keyboard__event_8h_source.html">keyboard_event.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a4ff5a35e21de197e906f70ff547866d9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#a4ff5a35e21de197e906f70ff547866d9">KeyboardEvent</a> (bool action, const std::string &amp;key_sym, unsigned char key, bool alt, bool ctrl, bool shift)</td></tr>
<tr class="memdesc:a4ff5a35e21de197e906f70ff547866d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor  <a href="classpcl_1_1visualization_1_1_keyboard_event.html#a4ff5a35e21de197e906f70ff547866d9">更多...</a><br /></td></tr>
<tr class="separator:a4ff5a35e21de197e906f70ff547866d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd49e5c1a0b358ee56cc113a452ccc95"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#acd49e5c1a0b358ee56cc113a452ccc95">isAltPressed</a> () const</td></tr>
<tr class="separator:acd49e5c1a0b358ee56cc113a452ccc95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3c224ea0346f147385de61b2a67cafd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#ab3c224ea0346f147385de61b2a67cafd">isCtrlPressed</a> () const</td></tr>
<tr class="separator:ab3c224ea0346f147385de61b2a67cafd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bf1a00621baef9713ec55d2e47e78a1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#a3bf1a00621baef9713ec55d2e47e78a1">isShiftPressed</a> () const</td></tr>
<tr class="separator:a3bf1a00621baef9713ec55d2e47e78a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6096832b4927b65e2cb03f8ad39b8737"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#a6096832b4927b65e2cb03f8ad39b8737">getKeyCode</a> () const</td></tr>
<tr class="separator:a6096832b4927b65e2cb03f8ad39b8737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a520c922f4a08500d16aa10f478baaf40"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#a520c922f4a08500d16aa10f478baaf40">getKeySym</a> () const</td></tr>
<tr class="separator:a520c922f4a08500d16aa10f478baaf40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06b162ae19e1905b022f59db343d4c30"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#a06b162ae19e1905b022f59db343d4c30">keyDown</a> () const</td></tr>
<tr class="separator:a06b162ae19e1905b022f59db343d4c30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ab81c5828b9febff0d30976296e6d8d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#a9ab81c5828b9febff0d30976296e6d8d">keyUp</a> () const</td></tr>
<tr class="separator:a9ab81c5828b9febff0d30976296e6d8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
静态 Public 属性</h2></td></tr>
<tr class="memitem:a884bd66a673cec6d460f219388b567f1"><td class="memItemLeft" align="right" valign="top"><a id="a884bd66a673cec6d460f219388b567f1"></a>
static const unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#a884bd66a673cec6d460f219388b567f1">Alt</a> = 1</td></tr>
<tr class="memdesc:a884bd66a673cec6d460f219388b567f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">bit patter for the ALT key <br /></td></tr>
<tr class="separator:a884bd66a673cec6d460f219388b567f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae86f7f0e2a4af8b6d728317f26f8279a"><td class="memItemLeft" align="right" valign="top"><a id="ae86f7f0e2a4af8b6d728317f26f8279a"></a>
static const unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#ae86f7f0e2a4af8b6d728317f26f8279a">Ctrl</a> = 2</td></tr>
<tr class="memdesc:ae86f7f0e2a4af8b6d728317f26f8279a"><td class="mdescLeft">&#160;</td><td class="mdescRight">bit patter for the Control key <br /></td></tr>
<tr class="separator:ae86f7f0e2a4af8b6d728317f26f8279a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad4bdb06fb083ac177f6fc86c6846a26"><td class="memItemLeft" align="right" valign="top"><a id="aad4bdb06fb083ac177f6fc86c6846a26"></a>
static const unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html#aad4bdb06fb083ac177f6fc86c6846a26">Shift</a> = 4</td></tr>
<tr class="memdesc:aad4bdb06fb083ac177f6fc86c6846a26"><td class="mdescLeft">&#160;</td><td class="mdescRight">bit patter for the Shift key <br /></td></tr>
<tr class="separator:aad4bdb06fb083ac177f6fc86c6846a26"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:adade0cbbd7046b474ba0589c51e75725"><td class="memItemLeft" align="right" valign="top"><a id="adade0cbbd7046b474ba0589c51e75725"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>action_</b></td></tr>
<tr class="separator:adade0cbbd7046b474ba0589c51e75725"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac486164c05b34aeceaa889f45b49a0c7"><td class="memItemLeft" align="right" valign="top"><a id="ac486164c05b34aeceaa889f45b49a0c7"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>modifiers_</b></td></tr>
<tr class="separator:ac486164c05b34aeceaa889f45b49a0c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f692134119d72da47ef7e504fbfdd01"><td class="memItemLeft" align="right" valign="top"><a id="a0f692134119d72da47ef7e504fbfdd01"></a>
unsigned char&#160;</td><td class="memItemRight" valign="bottom"><b>key_code_</b></td></tr>
<tr class="separator:a0f692134119d72da47ef7e504fbfdd01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7b2e05dc4035efaecc8d6bc4204a9c0"><td class="memItemLeft" align="right" valign="top"><a id="ad7b2e05dc4035efaecc8d6bc4204a9c0"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>key_sym_</b></td></tr>
<tr class="separator:ad7b2e05dc4035efaecc8d6bc4204a9c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>/brief Class representing key hit/release events </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a4ff5a35e21de197e906f70ff547866d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ff5a35e21de197e906f70ff547866d9">&#9670;&nbsp;</a></span>KeyboardEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">pcl::visualization::KeyboardEvent::KeyboardEvent </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key_sym</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>alt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ctrl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>shift</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">action</td><td>true for key was pressed, false for released </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">key_sym</td><td>the key-name that caused the action </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">key</td><td>the key code that caused the action </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">alt</td><td>whether the alt key was pressed at the time where this event was triggered </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ctrl</td><td>whether the ctrl was pressed at the time where this event was triggered </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">shift</td><td>whether the shift was pressed at the time where this event was triggered </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;      : action_ (action)</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;      , modifiers_ (0)</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;      , key_code_(key)</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;      , key_sym_ (key_sym)</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    {</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;      <span class="keywordflow">if</span> (alt)</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        modifiers_ = <a class="code" href="classpcl_1_1visualization_1_1_keyboard_event.html#a884bd66a673cec6d460f219388b567f1">Alt</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;      <span class="keywordflow">if</span> (ctrl)</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        modifiers_ |= <a class="code" href="classpcl_1_1visualization_1_1_keyboard_event.html#ae86f7f0e2a4af8b6d728317f26f8279a">Ctrl</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;      <span class="keywordflow">if</span> (shift)</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        modifiers_ |= <a class="code" href="classpcl_1_1visualization_1_1_keyboard_event.html#aad4bdb06fb083ac177f6fc86c6846a26">Shift</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    }</div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_keyboard_event_html_a884bd66a673cec6d460f219388b567f1"><div class="ttname"><a href="classpcl_1_1visualization_1_1_keyboard_event.html#a884bd66a673cec6d460f219388b567f1">pcl::visualization::KeyboardEvent::Alt</a></div><div class="ttdeci">static const unsigned int Alt</div><div class="ttdoc">bit patter for the ALT key</div><div class="ttdef"><b>Definition:</b> keyboard_event.h:53</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_keyboard_event_html_aad4bdb06fb083ac177f6fc86c6846a26"><div class="ttname"><a href="classpcl_1_1visualization_1_1_keyboard_event.html#aad4bdb06fb083ac177f6fc86c6846a26">pcl::visualization::KeyboardEvent::Shift</a></div><div class="ttdeci">static const unsigned int Shift</div><div class="ttdoc">bit patter for the Shift key</div><div class="ttdef"><b>Definition:</b> keyboard_event.h:57</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_keyboard_event_html_ae86f7f0e2a4af8b6d728317f26f8279a"><div class="ttname"><a href="classpcl_1_1visualization_1_1_keyboard_event.html#ae86f7f0e2a4af8b6d728317f26f8279a">pcl::visualization::KeyboardEvent::Ctrl</a></div><div class="ttdeci">static const unsigned int Ctrl</div><div class="ttdoc">bit patter for the Control key</div><div class="ttdef"><b>Definition:</b> keyboard_event.h:55</div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a6096832b4927b65e2cb03f8ad39b8737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6096832b4927b65e2cb03f8ad39b8737">&#9670;&nbsp;</a></span>getKeyCode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char pcl::visualization::KeyboardEvent::getKeyCode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>the ASCII Code of the key that caused the event. If 0, then it was a special key, like ALT, F1, F2,... PgUp etc. Then the name of the key is in the keysym field. </dd></dl>
<div class="fragment"><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    {</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;      <span class="keywordflow">return</span> (key_code_);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a520c922f4a08500d16aa10f478baaf40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a520c922f4a08500d16aa10f478baaf40">&#9670;&nbsp;</a></span>getKeySym()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const std::string &amp; pcl::visualization::KeyboardEvent::getKeySym </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>name of the key that caused the event </dd></dl>
<div class="fragment"><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    {</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;      <span class="keywordflow">return</span> (key_sym_);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="acd49e5c1a0b358ee56cc113a452ccc95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd49e5c1a0b358ee56cc113a452ccc95">&#9670;&nbsp;</a></span>isAltPressed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::KeyboardEvent::isAltPressed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>whether the alt key was pressed at the time where this event was triggered </dd></dl>
<div class="fragment"><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    {</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;      <span class="keywordflow">return</span> (modifiers_ &amp; <a class="code" href="classpcl_1_1visualization_1_1_keyboard_event.html#a884bd66a673cec6d460f219388b567f1">Alt</a>) != 0;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="ab3c224ea0346f147385de61b2a67cafd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3c224ea0346f147385de61b2a67cafd">&#9670;&nbsp;</a></span>isCtrlPressed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::KeyboardEvent::isCtrlPressed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>whether the ctrl was pressed at the time where this event was triggered </dd></dl>
<div class="fragment"><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    {</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;      <span class="keywordflow">return</span> (modifiers_ &amp; <a class="code" href="classpcl_1_1visualization_1_1_keyboard_event.html#ae86f7f0e2a4af8b6d728317f26f8279a">Ctrl</a>) != 0;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a3bf1a00621baef9713ec55d2e47e78a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bf1a00621baef9713ec55d2e47e78a1">&#9670;&nbsp;</a></span>isShiftPressed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::KeyboardEvent::isShiftPressed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>whether the shift was pressed at the time where this event was triggered </dd></dl>
<div class="fragment"><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    {</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;      <span class="keywordflow">return</span> (modifiers_ &amp; <a class="code" href="classpcl_1_1visualization_1_1_keyboard_event.html#aad4bdb06fb083ac177f6fc86c6846a26">Shift</a>) != 0;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a06b162ae19e1905b022f59db343d4c30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06b162ae19e1905b022f59db343d4c30">&#9670;&nbsp;</a></span>keyDown()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::KeyboardEvent::keyDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>true if a key-press caused the event, false otherwise </dd></dl>
<div class="fragment"><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    {</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;      <span class="keywordflow">return</span> (action_);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a9ab81c5828b9febff0d30976296e6d8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ab81c5828b9febff0d30976296e6d8d">&#9670;&nbsp;</a></span>keyUp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::KeyboardEvent::keyUp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>true if a key-release caused the event, false otherwise </dd></dl>
<div class="fragment"><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    {</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;      <span class="keywordflow">return</span> (!action_);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    }  </div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>visualization/include/pcl/visualization/<a class="el" href="keyboard__event_8h_source.html">keyboard_event.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>visualization</b></li><li class="navelem"><a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">KeyboardEvent</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
